package com.itheima.youdianda.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
@Data
public class YddLink implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String title;

    private String url;

    private String des;

    private String img;

    //1是图片链接, 2是文字链接
    private String type;

    //是否为默认数据, null表示不是, 1表示是
    private String defaultData;
}
